package com.ucap.bbs.controller.action;

import java.util.List;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.ucap.bbs.pojo.Users;
import com.ucap.bbs.service.IUsersService;

public class UsersAction extends ActionSupport	 {
	
	private IUsersService usersService;

	public void setUsersService(IUsersService usersService) {
		this.usersService = usersService;
	}

	public String test(){
        List<Users> list = this.usersService.test();
        ActionContext.getContext().put("list", list);
        return "test";
	}
}
